package com.alks.entity.data.entity.dispatch;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

public class DispatchCollection implements Serializable {
    private String dispatchNo;
    private Date dispatchDate;
    private String dispatchType;
    private String workerDept;
    private String workerName;
    private String workerId;
    private String lotNo;
    private String styleNo;
    private String styleColor;
    private String partName;
    private String matName;
    private Integer dispatchQty;
    private Date collectionDate;
    private String collectionNamae;
    private Integer lsNo;
    private String companyId;
    @JsonIgnore
    private Map<String, Object> params;
    private static final long serialVersionUID = 1L;

    public DispatchCollection() {
    }

    public String getDispatchNo() {
        return this.dispatchNo;
    }

    public void setDispatchNo(String dispatchNo) {
        this.dispatchNo = dispatchNo == null ? null : dispatchNo.trim();
    }

    public Date getDispatchDate() {
        return this.dispatchDate;
    }

    public Map<String, Object> getParams() {
        if (this.params == null) {
            this.params = new HashMap();
        }

        return this.params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }

    public void setDispatchDate(Date dispatchDate) {
        this.dispatchDate = dispatchDate;
    }

    public String getDispatchType() {
        return this.dispatchType;
    }

    public void setDispatchType(String dispatchType) {
        this.dispatchType = dispatchType == null ? null : dispatchType.trim();
    }

    public String getWorkerDept() {
        return this.workerDept;
    }

    public void setWorkerDept(String workerDept) {
        this.workerDept = workerDept == null ? null : workerDept.trim();
    }

    public String getWorkerName() {
        return this.workerName;
    }

    public void setWorkerName(String workerName) {
        this.workerName = workerName == null ? null : workerName.trim();
    }

    public String getWorkerId() {
        return this.workerId;
    }

    public void setWorkerId(String workerId) {
        this.workerId = workerId == null ? null : workerId.trim();
    }

    public String getLotNo() {
        return this.lotNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo == null ? null : lotNo.trim();
    }

    public String getStyleNo() {
        return this.styleNo;
    }

    public void setStyleNo(String styleNo) {
        this.styleNo = styleNo;
    }

    public String getStyleColor() {
        return this.styleColor;
    }

    public void setStyleColor(String styleColor) {
        this.styleColor = styleColor == null ? null : styleColor.trim();
    }

    public String getPartName() {
        return this.partName;
    }

    public void setPartName(String partName) {
        this.partName = partName == null ? null : partName.trim();
    }

    public String getMatName() {
        return this.matName;
    }

    public void setMatName(String matName) {
        this.matName = matName == null ? null : matName.trim();
    }

    public Integer getDispatchQty() {
        return this.dispatchQty;
    }

    public void setDispatchQty(Integer dispatchQty) {
        this.dispatchQty = dispatchQty;
    }

    public Date getCollectionDate() {
        return this.collectionDate;
    }

    public void setCollectionDate(Date collectionDate) {
        this.collectionDate = collectionDate;
    }

    public String getCollectionNamae() {
        return this.collectionNamae;
    }

    public void setCollectionNamae(String collectionNamae) {
        this.collectionNamae = collectionNamae == null ? null : collectionNamae.trim();
    }

    public Integer getLsNo() {
        return this.lsNo;
    }

    public void setLsNo(Integer lsNo) {
        this.lsNo = lsNo;
    }

    public String getCompanyId() {
        return this.companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId == null ? null : companyId.trim();
    }
}
